import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

const DEV_SERVER="http://localhost:2602"
// https://vite.dev/config/
export default defineConfig({
    plugins: [vue()],
    server:{
        port: 2601,
        cors: true,
        proxy: {
            "/common": {
                target: DEV_SERVER,
                changeOrigin: false,
            },
            "/v1": {
                target: DEV_SERVER,
                changeOrigin: false,
            },
        }
    }
})
